/**
 * Created by Weizehua on 2017/1/25.
 */
import {Singleton, FactorOf} from "ts.di";
import {AliOSS} from "../../AliOSS/AliOSS";
@Singleton()
export class AliOSSFactory {
    @FactorOf(AliOSS)
    static createAliOSS() {
        return new AliOSS({
            uploaderId: 'LTAI6CnPVLyCFPvF',
            uploaderSecret: 'eaI3gXv7JrhDP3oPiYX49sFA0Eey7X',
            adminId: 'LTAIZypVaAXPO446',
            adminSecret: 'UckxNZ3d05rLzCuO9xdTgrhzhUWOnP',
            bucket: 'peres',
            region: 'oss-cn-shenzhen'
        });
    }
}
